package com.example.mediademo.decode.interfaces;

import com.example.mediademo.decode.BaseDecoder;
import com.example.mediademo.decode.Frame;

public interface IDecodeStateListener {

    void decodePrepare(BaseDecoder decodeJob);

    void decodeReady(BaseDecoder decodeJob);

    void decodeRunning(BaseDecoder decodeJob);

    void decodePause(BaseDecoder decodeJob);

    void decodeOneFrame(BaseDecoder decodeJob, Frame frame);

    void decodeFinish(BaseDecoder decodeJob);

    void decodeDestroy(BaseDecoder decodeJob);

    void decodeError(BaseDecoder decodeJob,String msg);

}
